Rast: A Language for Resource-Aware Session Types

نویسندگان

چکیده

Traditional session types prescribe bidirectional communication protocols for concurrent computations, where well-typed programs are guaranteed to adhere the protocols. However, simple cannot capture properties beyond basic type of exchanged messages. In response, recent work has extended with refinements from linear arithmetic, capturing intrinsic attributes processes and data. These then play a central role in describing sequential parallel complexity bounds on session-typed programs. The Rast language provides an open-source implementation arithmetic as well ergometric temporal span program execution. To further support generic programming, also enhances arithmetically refined recently developed nested parametric polymorphism. Type checking relies Cooper's algorithm quantifier elimination Presburger few significant optimizations, heuristic extension nonlinear constraints. furthermore includes reconstruction engine so that most constructs pertaining layers resources inserted automatically. We provide variety examples demonstrate expressivity language.

برای دانلود باید عضویت طلایی داشته باشید

برای دانلود متن کامل این مقاله و بیش از 32 میلیون مقاله دیگر ابتدا ثبت نام کنید

اگر عضو سایت هستید لطفا وارد حساب کاربری خود شوید

منابع مشابه

Work Analysis with Resource-Aware Session Types

While there exist several successful techniques for supporting programmers in deriving static resource bounds for sequential code, analyzing the resource usage of message-passing concurrent processes poses additional challenges. To meet these challenges, this article presents an analysis for statically deriving worst-case bounds on the total work performed by message-passing processes. To decom...

متن کامل

Logic-Based Domain-Aware Session Types

In prior work, an interpretation of linear logic propositions as session types for communicating processes was proposed. In a concurrent setting, it defines a tight propositions-as-types/proofs-as-programs correspondence, in the style of the CurryHoward isomorphism. In this paper, we generalize such an interpretation by relying on a variant of intuitionistic linear logic with hybrid logic const...

متن کامل

Signaling Protocol for Session-Aware Popularity-Based Resource Allocation

The Differentiated Services model (DS) maps traffic into services that offer different quality levels. However, flows are treated unfairly in each service, since the DS model lacks a policy to distribute service bandwidth between flows that form the service aggregate traffic. We present a signaling protocol called Session-Aware Popularity-based Resource Allocation (SAPRA) that fairly distribute...

متن کامل

Session-Aware Popularity Resource Allocation for Assured Differentiated Services

Differentiated Service networks (DS) are fair in the way that different types of traffic can be associated to different network services, and so to different quality levels. However, fairness among flows sharing the same service may not be provided. Our goal is to study fairness between multirate multimedia sessions for an assured DS service, in a multicast network environment. To achieve this ...

متن کامل

Sumatra: A Language for Resource-Aware Mobile Programs

Programs that use mobility as a mechanism to adapt to resource changes have three requirements that are not shared with other mobile programs. First, they need to monitor the level and quality of resources in their operating environment. Second, they need to be able to react to changes in resource availability. Third, they need to be able to control the way in which resources are used on their ...

متن کامل

ذخیره در منابع من


  با ذخیره ی این منبع در منابع من، دسترسی به آن را برای استفاده های بعدی آسان تر کنید

ژورنال

عنوان ژورنال: Logical Methods in Computer Science

سال: 2022

ISSN: ['1860-5974']

DOI: https://doi.org/10.46298/lmcs-18(1:9)2022